class OrdersAddColumnStatus < ActiveRecord::Migration
  def self.up
    add_column :orders, :status, :string, :length => 20, :default => 'pending'
    add_column :orders, :processed_at, :datetime
  end

  def self.down
    remove_column :orders, :status
    remove_column :orders, :processed_at
  end
end
